package com.ssy.lingxi.dto.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 查询发票请求参数
 * @author 伍将
 * @date 2021/2/4
 * @version 2.0.0
 */
public class InvoiceMessageGetRequest implements Serializable {

    private static final long serialVersionUID = 5967833488147523117L;

    @NotNull(message = "会员id不能为空")
    @Positive(message = "会员id不能为空")
    private Long memberId;

    private Long roleId;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
}
